package com.hq.zb.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.hq.zb.model.Org;
import com.hq.zb.vo.OrgVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 组织表表 Mapper 接口
 * </p>
 *
 * @author huanghanrui
 * @since 2022-03-07
 */
@Mapper
public interface OrgMapper extends BaseMapper<Org> {

    /**
     * 分页查询
     * @param page
     * @param wrapper
     * @return
     */
    List<OrgVo> listByPage(Pagination page, @Param("ew") Wrapper<OrgVo> wrapper);
}
